﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AgentIndex.aspx.cs" Inherits="Yule8xWechat.Test.AgentIndex" %>

<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>代理首页</title>
    <link rel="stylesheet" type="text/css" href="../Skin/Theme/Css/comm.css" />
    <link rel="stylesheet" type="text/css" href="../Skin/Theme/Css/icon.css" />
    <link rel="stylesheet" type="text/css" href="../Skin/Theme/Css/my.css" />
    <link rel="stylesheet" type="text/css" href="../Skin/Theme/Css/agent.css" />
    <link rel="stylesheet" type="text/css" href="../Skin/Theme/Plugins/widget/iscroll/css/iscroll2.css" />
    <script src="../Skin/Theme/Js/flexible_css.js" type="text/javascript" charset="utf-8"></script>
    <script src="../Skin/Theme/Js/flexible.js" type="text/javascript" charset="utf-8"></script>
</head>

<body>

    <div class="content  b-h" id="content">
        <div id="scroller" class="scroller">
            <div id="pullDown" class="pulldown">
                <div class="pullDownLabel"></div>
            </div>

                <!--头部信息二维码-->
                <div class="topinfo">
                    <div class="infoarea">
                        <span class="headimg">
                            <img src="<%=wxUser.headimgurl %>"></span>
                        <span class="nameinfo">
                            <div class="myname"><%=wxUser.nickname %></div>
                            <div class="mygameid">代理ID <%=wxUser.user_id %></div>
                        </span>
                        <a href="QrInfo.aspx">
                            <span class="detailarrow">
                                <img src="../Skin/Theme/Images/my/arrow.png"></span>
                            <span class="qrimg">
                                <img src="../Skin/Theme/Images/my/qrcode.png"></span>

                        </a>
                    </div>
                </div>
                <div class="clear"></div>
                <!--代理数据信息-->
                <div class="adataarea" id="agent">
                    <ul>
                        <li>
                            <div class="dtitle"><a href="IncomeDetail.aspx?date=today&user_id=<%=wxUser.user_id %>"><span class="timg">
                                <img src="../Skin/Theme/Images/my/jinri.png"></span><span class="ttitle">今日收入</span></a></div>
                            <div class="dcount"><%=pageData.todayAmount %></div>
                        </li>
                        <li>
                            <div class="dtitle"><a href="IncomeDetail.aspx?user_id=<%=wxUser.user_id %>"><span class="timg">
                                <img src="../Skin/Theme/Images/my/leiji.png"></span><span class="ttitle">累计收入</span></a></div>
                            <div class="dcount"><%=pageData.totalAmount %></div>
                        </li>
                                                <li>
                            <div class="dtitle"><a href="Agent1Detail.aspx?user_id=<%=wxUser.user_id %>"><span class="timg">
                                <img src="../Skin/Theme/Images/agent/level1.png"></span><span class="ttitle">1级代理</span></a></div>
                            <div class="dcount"><%=pageData.agent2Count %> 个</div>
                        </li>
                        <li>
                            <div class="dtitle"><a href="Agent2Detail.aspx?user_id=<%=wxUser.user_id %>"><span class="timg">
                                <img src="../Skin/Theme/Images/agent/level2.png"></span><span class="ttitle">2级代理</span></a></div>
                            <div class="dcount"><%=pageData.agent3Count %> 个 </div>
                        </li>
                    </ul>
                </div>
                <div class="clear"></div>
                <!--代理数据信息-->
                <div class="adataarea" id="agent">
                    <ul>
                        <li>
                            <div class="dtitle"><a href="DiamondDetail.aspx?user_id=<%=wxUser.user_id %>"><span class="timg">
                                <img src="../Skin/Theme/Images/my/zuanshi.png"></span><span class="ttitle">八星钻石</span></a></div>
                            <div class="dcount"><%=pageData.dimondCount %> 颗</div>
                        </li>
                        <li>
                            <div class="dtitle"><a href="WithDraw.aspx?user_id=<%=wxUser.user_id %>"><span class="timg">
                                <img src="../Skin/Theme/Images/my/zhanghuyue.png"></span><span class="ttitle">余额<%=pageData.blance %></span></div>
                            <div class="dcount t-b">我要提现</a></div>
                        </li>
                    </ul>
                </div>
                <div class="clear"></div>
                <!--个人数据信息-->

                <!--菜单区域-->
                <div class="menulist">
                    <ul>
                        <li class="menudetail">
                            <div class="menucontent"><a href="DimondTransfer.aspx?user_id=<%=wxUser.user_id %>"><span class="mimg">
                                <img src="../Skin/Theme/Images/my/zengsongfangka.png"></span><span class="mtitle">钻石转入游戏</span><span class="marrow"><img src="../Skin/Theme/Images/my/arrow1.png"></span><span class="smalltip">不可赠送给代理</span></a></div>
                        </li>
                        <li class="menudetail">
                            <div class="menucontent"><a href="BuyDiamond.aspx"><span class="mimg">
                                <img src="../Skin/Theme/Images/my/goumaifangka.png"></span><span class="mtitle">购买钻石</span><span class="marrow"><img src="../Skin/Theme/Images/my/arrow1.png"></span></a></div>
                        </li>
                    </ul>
                </div>

                <div class="menulist">
                    <ul>
                        <li class="menudetail">
                            <div class="menucontent"><a href="IncomeIndex.aspx?user_id=<%=wxUser.user_id %>"><span class="mimg">
                                <img src="../Skin/Theme/Images/my/shourushuju.png"></span><span class="mtitle">收入详情</span><span class="marrow"><img src="../Skin/Theme/Images/my/arrow1.png"></span></a></div>
                        </li>
                        <li class="menudetail">
                            <div class="menucontent"><a href="RechargeDetail.aspx?user_id=<%=wxUser.user_id %>"><span class="mimg">
                                <img src="../Skin/Theme/Images/my/chongzhijilu.png"></span><span class="mtitle">充值详情</span><span class="marrow"><img src="../Skin/Theme/Images/my/arrow1.png"></span></a></div>
                        </li>
                        <li class="menudetail">
                            <div class="menucontent"><a href="ChildUser.aspx?user_id=<%=wxUser.user_id %>"><span class="mimg">
                                <img src="../Skin/Theme/Images/my/tuiguanguser.png"></span><span class="mtitle">推广玩家详情</span><span class="marrow"><img src="../Skin/Theme/Images/my/arrow1.png"></span><span class="smalltip">推广一个用户送2颗钻石</span></a></div>
                        </li>
                    </ul>
                </div>
                <div class="menulist">
                    <ul>
                        <li class="menudetail">
                            <div class="menucontent"><a href="../Promotion/Default.aspx"><span class="mimg">
                                <img src="../Skin/Theme/Images/my/mianfeizuanshi.png"></span><span class="mtitle">免费领取钻石</span><span class="marrow"><img src="../Skin/Theme/Images/my/arrow1.png"></span></a></div>
                        </li>
                    </ul>
                <div id="pullUp" class="pullup">
                    <div class="pullUpLabel"></div>
                </div>
                    <div class="hidediv"></div>
                </div>

                <!--菜单区域-->
            </div>
    </div>
    
    <script src="../Skin/Theme/Js/jquery_2.1.3.js" type="text/javascript" charset="utf-8"></script>
    <script src="../Skin/Theme/Plugins/widget/iscroll/js/iscroll-probe.js" type="text/javascript" charset="utf-8"></script>
   
    </body>

</html>
